package top.eggcode.system.client.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Title:
 * Description: TODO
 * Date: 2021/5/25 21:05
 *
 * @author JiaQi Ding
 * @version 1.0
 */
@ApiModel("操作日志")
@Data
public class LoginLog implements Serializable {

    /**
     * 保证序列化兼容性
     */
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    private String id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("IP地址")
    private String remoteAddr;

    @ApiModelProperty("远程端口")
    private String remotePort;

    @ApiModelProperty("浏览器名称")
    private String browserName;

    @ApiModelProperty("操作系统名称")
    private String operatingSystemName;

    @ApiModelProperty("状态")
    private Short status;

    @ApiModelProperty("会话令牌")
    private String sessionToken;

    @ApiModelProperty("设备类型")
    private String deviceType;
}
